package cn.unknowpupil.common.mybatis.enums;

import cn.unknowpupil.common.mybatis.IBaseEnum;
import lombok.Getter;

/**
 * @Description: 描述。</br>
 * <p>
 *
 * </p>
 * @Author: <a> w10g </a>
 * @Since: 2020/6/4 15:33
 */
@Getter
public enum  UserTypeEnum implements IBaseEnum<Integer> {
    FORMAL(0, "正式用户"),
    TEST(1, "测试用户");
    private final int state;
    private final String description;


    UserTypeEnum(int state, String description) {
        this.state = state;
        this.description = description;
    }
    @Override
    public Integer getValue() {
        return state;
    }

    @Override
    public String getDescription() {
        return description;
    }
}
